package com.example.demo.dao.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

@Data
@TableName("t_blog")
public class Blog {
    @TableId(value = "id",type= IdType.AUTO)
    private Long id;
    //创建时间
    private Date createTime;
    //创建人
    private String createPerson;
    //更新人
    private String updatePerson;
    //更新时间
    private Date updateTime;
    //状态 1是 0否
    private Integer status;
    //备注
    private String memo;
    //标题
    private String title;
    //内容
    private String content;
    //分类
    private String type;
    //标签
    private String label;
    //评论
    private String comment;

}
